package comxin.demo1;

public class Mythreaddemo {

    public static void main(String[] args) {
        MyThread myThread =new MyThread();
        MyThread myThread1=new MyThread();
        myThread.setName("线程A");
        myThread1.setName("线程B");
        myThread.start();
        myThread1.start();
    }
}
